package cn.com.captureNetPacket.dao;

import java.util.List;
import org.apache.ibatis.annotations.Mapper;

import cn.com.captureNetPacket.model.ConfigInfo;
import cn.com.captureNetPacket.model.DeviceInfo;
import cn.com.captureNetPacket.model.ParamCondition;

@Mapper
public interface DeviceInfoMapper {
//	@Select("<script> select id,deviceNumber,ip,mac,alias,type,isDelete,needRecord,nprtd,prttda from DeviceInfo "
//			+ " where isDelete=0 "
//			+ " order by id   </script>")
	public List<DeviceInfo> queryDeviceInfo() ;
	
	public void createDeviceInfo(DeviceInfo deviceInfo);
	
	public void removeDeviceInfo(DeviceInfo deviceInfo);
	
	public void updateDeviceInfo(DeviceInfo deviceInfo);
	
	public List<DeviceInfo> searchByCondition(Integer currentPage, Integer size, ParamCondition<DeviceInfo> paramCondition);

}
